#include <memory>
#include <Common.h>
#include <Interface.h>
#include "ShadowMapPass.h"
#include "DrawScenePass.h"
#include "DrawLightPass.h"

int main()
{
	Graphics::WINDOW_KEYWORD::setWindowSize(1080, 720);
	Graphics::WINDOW_KEYWORD::setIsCursorDisable(false);
	Graphics::Camera::setMainCameraFarPlane(25.0);

	Graphics::Camera::setMainCameraPos({ 2.88814, 0, 3.98128 });
	Graphics::Camera::setMainCameraFront({ -0.805906, 0.137272, -0.575909 });

	Graphics::ResourceManager::registerRenderPass(std::make_shared<CShadowMapPass>("ShadowMapPass", 1));
	Graphics::ResourceManager::registerRenderPass(std::make_shared<CDrawScenePass>("DrawScenePass", 2));
	Graphics::ResourceManager::registerRenderPass(std::make_shared<CDrawLightPass>("DrawLightPass", 3));

	Graphics::App::initApp();
	Graphics::App::updateApp();

	return 0;
}